<?php
class HomeController extends AppController {

	var $name = 'Home';
	// Questo controller non utilizza un modello
	var $uses = array();

	function beforeFilter() {
		parent::beforeFilter();
		$this->Auth->allow(array('index'));
	}

	function index() {
		$this->set('currentUser', $this->Auth->user());
	}

	function admin_index() {
	}
}
?>